package com.zhiwen.design.singleton;

/**
 * @Auther: wuzhiwen
 * @Date: 2018/11/30 10:03
 * @Description: 饿汉式单例模式(立即加载)
 */
public class Singleton01 {

    private Singleton01() {

    }

    private static Singleton01 singleton01 = new Singleton01();

    public static Singleton01 getSingleton01() {
        return singleton01;
    }
}
